package com.mairuide.robot;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.mairuide._frame.base.BaseModel;

/**
 * 机器人表
 * @author mh
 *
 */
@Entity
@Table(name="TB_ROBOT_RULES")
public class RobotRules extends BaseModel {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
    @Column(name = "id")
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "robot_rules")
	@SequenceGenerator(name = "robot_rules", sequenceName = "SEQ_ROBOT_RULES",allocationSize=1)
    private Integer id;
	
	/**
	 * 案件类型
	 */
	@Column(name = "CASE_TYPE")
	private String caseType;
	
	/**
	 * 请求MODULE_CODE
	 */
	@Column(name = "MODULE_CODE")
	private String moduleCode;
	
	/**
	 * 请求P_MODULE_CODE
	 */
	@Column(name = "P_MODULE_CODE")
	private String pModuleCode;
	
	/**
	 * 菜单id
	 */
	@Column(name = "MENU_ID")
	private String menuId;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCaseType() {
		return caseType;
	}

	public void setCaseType(String caseType) {
		this.caseType = caseType;
	}

	public String getMenuId() {
		return menuId;
	}

	public void setMenuId(String menuId) {
		this.menuId = menuId;
	}

	public String getModuleCode() {
		return moduleCode;
	}

	public void setModuleCode(String moduleCode) {
		this.moduleCode = moduleCode;
	}

	public String getpModuleCode() {
		return pModuleCode;
	}

	public void setpModuleCode(String pModuleCode) {
		this.pModuleCode = pModuleCode;
	}
	
}
